﻿using System.Collections.Generic;
using Wicture.DbRESTFul;

namespace Wicture.EPC.OnlineQueryProxy.Agents
{
    public interface IAgentManager
    {
        void AddOrUpdate(Agent request);
        void ForceOffline(string connectionId);
        Agent GetAgent(string connectionId);
        Agent GetAgentByProcessorName(string processorName);
        bool Reconnect(string connectionId);
        void SaveStates();
        AjaxResult Update(UpdateAgentRequest request);
    }
}